<?php


namespace app\validate\admin;


use think\Validate;

class MerchantAdValidate extends Validate
{
    protected $failException = true;

    protected $rule = [
        'remarks|备注' => 'max:255',
        'status|状态' => 'require|in:0,1',
        'image|分类图片' => 'max:128',
        'sort|排序' => 'require|integer'
    ];
}
